<%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2017/6/7
  Time: 14:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="sf" %>
<html>
<head>
  <title>添加用户</title>
</head>
<body>
<sf:form method="post" modelAttribute="user">
  UserName:<sf:input path="username"/> <sf:errors path="username"></sf:errors> <br>
  NickName:<sf:input path="nickname"/><sf:errors path="nickname"/> <br/>
  PassWord:<sf:password path="password"/><sf:errors path="password"/> <br/>
  <input type="file" name="attachs">
  <input type="submit" value="添加用户"/>
</sf:form>
</body>
</html>
